<?php
    /**
     * Created by PhpStorm.
     * User: huangzhongwei
     * Date: 2018/11/8
     * Time: 13:34
     */

    namespace app\api\validate;


    class Ad extends BaseValidate
    {

        protected $rule = [
            'name'    => 'require|isNotEmpty',
            'images' => 'require|isNotEmpty',
        ];
        protected $message = [
            'name.require' => '名称不能为空',
            'images.require'=>'图片不能为空'
        ];

    }